package com.koron.order.overhaul.bean.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 大修分级分项验收标准-项目(GradeItem)表实体类
 *
 * @author jzp
 * @since 2021-09-26
 */
@Data
@ApiModel(value = "大修分级分项验收标准-项目")
public class GradeItem {

    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("分级分项标准ID")
    private String gradeId;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("专业")
    private String major;

    @ApiModelProperty("验收级别")
    private Integer level;

    @ApiModelProperty("项目描述")
    private String context;

    @ApiModelProperty("验收标准")
    private String contextStandard;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("删除标志,0：delete_flag=false，代表未删除1：delete_flag=true，代表已删除")
    private Integer deleteFlag;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("创建时间")
    private Date createTime;

}

